package org.bigk.invoices.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.apache.commons.lang.builder.ToStringBuilder;

@Entity
@Table(name = "taxes")
public class Tax implements Serializable {

	private static final long serialVersionUID = -9119399488149756793L;

	@Id
	@Column(name = "id")
	private Long id;

	@Column(name = "description_key")
	private String descriptionKey;

	@Column(name = "description")
	private String description;

	@Column(name = "value")
	private Double value;

	public Tax() {
	}

	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getDescriptionKey() {
		return descriptionKey;
	}

	public void setDescriptionKey(String descriptionKey) {
		this.descriptionKey = descriptionKey;
	}

	public Double getValue() {
		return value;
	}

	public void setValue(Double value) {
		this.value = value;
	}
	
	
}
